﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Kevin.Controls
{
    /// <summary>
    /// DialogWindow控件的客户端状态
    /// </summary>
    internal class DialogClientState
    {

        public DialogClientState(string url)
        {
            this.URL = url;
        }

        public string URL
        { get; set; }

        public List<ClientQueryMethod> ClientQueryMethods
        {
            get;
            set;
        }
    }
    /// <summary>
    /// 在客户端获取控件的方法
    /// </summary>
    internal class ClientQueryMethod
    {
        internal ClientQueryMethod(string method, string clientID)
        {
            this.Method = method;
            this.ClientID = clientID;
        }

        public string Method
        {
            get;
            set;
        }

        public string ClientID
        { get; set; }
    }
    internal class ClientQueryMethodCollection : CollectionBase
    {
        public void Add(ClientQueryMethod item)
        {
            base.List.Add(item);
        }
    }
}
